package com.baosight.risk.service.system.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

/**
 * Table: SYS_CODERULE
 */
@Data
@Table(name = "SYS_CODERULE")
public class SysCoderule extends BaseEntity {

    /**
     * 编号
     * <p>
     * Table:     SYS_CODERULE
     * Column:    EN_CODE
     * Nullable:  true
     */
    @Column(name = "EN_CODE")
    private String enCode;

    /**
     * 名称
     * <p>
     * Table:     SYS_CODERULE
     * Column:    FULL_NAME
     * Nullable:  true
     */
    @Column(name = "FULL_NAME")
    private String fullName;

    /**
     * 当前流水号
     * <p>
     * Table:     SYS_CODERULE
     * Column:    CURRENT_NUMBER
     * Nullable:  true
     */
    @Column(name = "CURRENT_NUMBER")
    private String currentNumber;

    /**
     * 排序码
     * <p>
     * Table:     SYS_CODERULE
     * Column:    SORT_CODE
     * Nullable:  true
     */
    @Column(name = "SORT_CODE")
    private Integer sortCode;

    /**
     * 删除标记
     * <p>
     * Table:     SYS_CODERULE
     * Column:    DELETE_MARK
     * Nullable:  true
     */
    @Column(name = "DELETE_MARK")
    private Integer deleteMark;

    /**
     * Table:     SYS_CODERULE
     * Column:    ENABLED_MARK
     * Nullable:  true
     */
    @Column(name = "ENABLED_MARK")
    private Integer enabledMark;

    /**
     * 备注
     * <p>
     * Table:     SYS_CODERULE
     * Column:    REMARK
     * Nullable:  true
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * 规则格式Json
     * <p>
     * Table:     SYS_CODERULE
     * Column:    RULE_FORMAT_JSON
     * Nullable:  true
     */
    @Column(name = "RULE_FORMAT_JSON")
    private String ruleFormatJson;

    private static final long serialVersionUID = 1L;
}